from payment import Gateway

class Demo(Gateway):
	"""A gateway that doesn't do any processing. Useful only for testing the core
	of the payment system."""

	def process(self, success=True):
		self.transaction.success = success
		self.transaction.id = 1
		return self

